package com.niit.cms.entity;

import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2022-06-22 21:42:53
 */
@Table(name = "tb_order")
public class Order implements Serializable {
    private static final long serialVersionUID = -85329286749513365L;

    private Integer id;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date time;

    private Integer uid;

    private String state;

    private Integer sumPrice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(Integer sumPrice) {
        this.sumPrice = sumPrice;
    }

}

